home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Library
/
RoseWare - Network Support Library.iso
/
btrieve
/
bj516b.exe
/
PATCH516.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-08-19
|
1KB
|
57 lines
echo off
CLS
echo *** MAKE SURE THAT YOU USE THE ORIGINAL (UNPATCHED) RELEASED VERSION
echo OF THE PRODUCT YOU ARE PATCHING. PATCHING AN ALREADY PATCHED COPY
echo MAY CAUSE UNPREDICTABLE ERRORS.
echo
echo
::
:BTRIEVE
SET FILE516=BTRIEVE.NLM
SET ORG516=BTRIEVE.ORG
SET PAT516=BPATNLM.516
::
:PATCH
IF NOT EXIST PI.EXE GOTO NOPI
IF NOT EXIST %PAT516% GOTO NOPAT
IF NOT EXIST %FILE516% GOTO NOFILE
IF NOT EXIST %ORG516% REN %FILE516% %ORG516%
IF EXIST %FILE516% DEL %FILE516%
:INPATCH
echo
echo %FILE516% VERSION 5.16 for NetWare J ** PATCHING .............
echo
COPY %ORG516% %FILE516%
PI %FILE516% %PAT516%
GOTO FIXDONE
::
:NOPAT
echo
echo CANNOT FIND %PAT516%
GOTO END
::
:NOPI
echo
echo CANNOT FIND PI.EXE
echo
echo The Novell Patch Install Utility (PI.EXE) is required to install
echo the patches for this product. Please copy PI.EXE to the directory
echo you are working in............................................
GOTO END
::
:NOFILE
IF EXIST %ORG516% GOTO INPATCH
echo
echo CANNOT FIND %FILE516%
GOTO END
::
:FIXDONE
echo
echo BTRIEVE FOR NetWare J ** PATCH COMPLETE **
echo
::
:END
SET FILE516=
SET ORG516=
SET PAT516=